package MessagePacks;


import entities.CProcessRequest;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class NewRequestPack extends MessagePack {
	/**
	 * Pack For A New Request - 
     * The Request Id Hasn't Been Generated Yet (Generated In DB)
	 */
	private static final long serialVersionUID = 1L;
	private CProcessRequest myProcess;
	
	public NewRequestPack(CProcessRequest process){
		super(AddNewProcess);
		setMyProcess(process);
	}

	public CProcessRequest getMyProcess() {
		return myProcess;
	}

	public void setMyProcess(CProcessRequest myProcess) {
		this.myProcess = myProcess;
	}
	
	public CProcessRequest getProcess(){
		return myProcess;
	}
}
